package com.xuan.webfinally.mapper;

import com.xuan.webfinally.entity.SlopeLidarMonitor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 点云雷达监测信息表 Mapper 接口
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
public interface SlopeLidarMonitorMapper extends BaseMapper<SlopeLidarMonitor> {


    @Select("select count(*) from slope_lidar_monitor where dept_id = #{deptId}")
    int selectLeidajiance(Long deptId);


    @Select("select count(*) from slope_lidar_monitor")
    int selectLeidajiances();
}
